<%@ page language="java" contentType="text/html; charset=UTF-8"	pageEncoding="UTF-8"%>
<%@ include file="/common/taglibs.jsp" %>
<%@page import="org.springframework.security.web.authentication.UsernamePasswordAuthenticationFilter"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>用户登录示例</title>
</head>
<body>
<c:out value="${ctx}"/>
<form id="loginForm" action="${ctx }/j_spring_security_check" method="post" style="margin-top: 1em">
<table>
	<tr>
		<td><label>用户名:</label></td>
		<td>
			<input type='text' id='j_username' name='j_username'class="required" />
		</td>
	</tr>
	<tr>
		<td><label>密码:</label></td>
		<td>
			<input type='password' id='j_password' name='j_password' class="required" />
		</td>
	</tr>
	<tr>
		<td colspan='2' align="right">
			<input type="checkbox" name="_spring_security_remember_me" />两周内记住我
		 	<input value="登录" type="submit" class="button" />
		</td>
	</tr>
</table>
</form>
</body>
</html>